export const adcode = [

  {adcode: "110000", name: "北京市"},
  {adcode: "120000", name: "天津市"},
  {adcode: "130000", name: "河北省"},
  {adcode: "140000", name: "山西省"},
  {adcode: "150000", name: "内蒙古自治区"},

  {adcode: "210000", name: "辽宁省"},
  {adcode: "220000", name: "吉林省"},
  {adcode: "230000", name: "黑龙江省"},

  {adcode: "310000", name: "上海市"},
  {adcode: "320000", name: "江苏省"},
  {adcode: "330000", name: "浙江省"},
  {adcode: "340000", name: "安徽省"},
  {adcode: "350000", name: "福建省"},
  {adcode: "360000", name: "江西省"},
  {adcode: "370000", name: "山东省"},

  {adcode: "410000", name: "河南省"},
  {adcode: "420000", name: "湖北省"},
  {adcode: "430000", name: "湖南省"},
  {adcode: "440000", name: "广东省"},
  {adcode: "450000", name: "广西壮族自治区"},
  {adcode: "460000", name: "海南省"},

  {adcode: "500000", name: "重庆市"},
  {adcode: "510000", name: "四川省"},
  {adcode: "520000", name: "贵州省"},
  {adcode: "530000", name: "云南省"},
  {adcode: "540000", name: "西藏自治区"},

  {adcode: "610000", name: "陕西省"},
  {adcode: "620000", name: "甘肃省"},
  {adcode: "630000", name: "青海省"},
  {adcode: "640000", name: "宁夏回族自治区"},
  {adcode: "650000", name: "新疆维吾尔自治区"},

  {adcode: "710000", name: "台湾省"},
  {adcode: "810000", name: "香港特别行政区"},
  {adcode: "820000", name: "澳门特别行政区"},
]

export const routeRules = [
  {
    value: 0,
    label: '速度优先',
  },
  {
    value: 1,
    label: '费用优先',
  },
  {
    value: 2,
    label: '距离优先',
  },
  {
    value: 41,
    label: '躲避拥堵＋少收费',
  },
  {
    value: 32,
    label: '默认',
  },
]

export const plugins = [
                'AMap.ToolBar',
                'AMap.Scale',
                'AMap.Geolocation',
                'AMap.PlaceSearch',
                'AMap.Geocoder',
                'AMap.HawkEye',
                'AMap.MapType',
                'AMap.CircleEditor',
                'AMap.MouseTool',
                'AMap.AutoComplete',
                'AMap.PlaceSearch',
                'AMap.Driving'
            ]